<script setup lang="ts">
import {TresCanvas} from '@tresjs/core'
import CanvasBase from './CanvasBase.vue'
import SceneNodeWalls from './SceneNodeWalls.vue'
import SceneNodeContent from './SceneNodeContent.vue'
import SceneNodeContentInit from './SceneNodeContentInit.vue'
import SceneNodeSpawnPoint from './SceneNodeSpawnPoint.vue'

</script>

<template>
  <div class="relative" style="height: 810px">
    <TresCanvas clear-color="#333">
      <CanvasBase />
      <SceneNodeWalls />
      <SceneNodeContent />
      <SceneNodeSpawnPoint />
      <!-- TODO 无法放在SceneNodeContent中初始化，会导致组件不渲染，未解决 -->
      <SceneNodeContentInit />
    </TresCanvas>
  </div>
</template>

<style scoped lang="scss">
</style>
